import { Sequelize } from 'sequelize'
import config from '../config/database'

const sequelize = new Sequelize(config.database, config.username, config.password, {
  host: config.host,
  dialect: 'mysql',
  timezone: '+08:00',
})

export * from './Game'
export * from './GameBet'
export * from './Room'
export * from './Transaction'
export * from './User'
export { sequelize }
